package DesignMode.Proxy.staticProxy;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName DataStructure
 * @Description: TODO
 * @date ${DAT}12:19
 */
public class Clent {
    public static void main(String[] args) {
        TeacherDao teacherDao = new TeacherDao();

        //创建代理对象，同时将代理对象传递给代理对象
        TeacherDaoProxy teacherDaoProxy = new TeacherDaoProxy(teacherDao);

        teacherDaoProxy.teacher();
    }
}
